<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:dxl="http://www.lotus.com/dxl"
    xmlns:session="java:ro.egmar.dojocache.extensions.SessionExtension"
    exclude-result-prefixes="session dxl xs">
    
    <!-- Output options -->
    <xsl:output
        method="html"
        omit-xml-declaration="yes"
        indent="yes"
    />
    
    <!-- Global parameters -->
    <xsl:param name="webDbPath"/>
    <xsl:param name="notesDbPath"/>
    
    <!-- Strip whitespace -->
    <xsl:strip-space elements="*"/>
    
    <!-- Overriding default templates -->
    <xsl:template match="text()|@*" />
    
    <!-- Template for page element -->
    <xsl:template match="dxl:view">
        <div class="outerPartWorkaround">
        	<div dojoType="ContentPane" style="width:100%;height:100%;">
        		<div dojoType="DominoActionbar" basetype="view" baseid="{@name}"/>
            	<div dojoType="DominoViewPane" viewName="{@name}"/>
        	</div>
        </div>
    </xsl:template>
    
    <!-- Root template, main entry point -->
    <xsl:template match="/">
        <xsl:apply-templates/>
    </xsl:template>
    
</xsl:stylesheet>